package batframework.mvc.view;

import batframework.code.util.ClassUtils;
import batframework.mvc.View;
import batframework.mvc.conf.MvcApplicationConfing;

public class ViewFactory
{
	private static ViewFactory factory = new ViewFactory();

	/**
	 * default View
	 * @author bmyues
	 * @return
	 */
	public static View getDefaultView()
	{
		return ClassUtils.createObject(MvcApplicationConfing.getConf().getViewClass());
	}
	
	private ViewFactory()
	{
		
	}
	
	
}
